home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / trueview.zip / README < prev    next >
Text File  |  1992-05-20  |  8KB  |  135 lines

  1.  
  2.    Originally, I intended to supply no README file at all along with
  3. TrueView.Exe.  Still, as the program messages proved not to be as
  4. self-informative as intended, this brief readme emerged.  If you do not
  5. have VGA with color monitor installed on your machine, I think it's wise
  6. to stop now.  If you do have 'em - let's continue.
  7.  
  8.    This program was designed with the sole purpose in mind - to develop
  9. tool, though clumsy and uncommon, which will permit to view two
  10. different 256-colors VGA images on single screen _simultaneosly_ without
  11. adjusting palette for any of them and (hopefully) to display true color
  12. 24-bit images.  Obviously, it's not a great task to everyone who have
  13. Targa+ or SuperVGA with Tseng ET 4000 chip set, but to all us boys with
  14. plain VGA it is a bit difficult.
  15.  
  16.    Obvious solution to this problem is to have three different images
  17. displayed in three subsequent VGA frames, one for red component, next
  18. for green and last for blue one.  Such technique could have resulted in
  19. 18-bits-per-pixel resolution (because of VGA palette been 6 bits wide
  20. instead of 8 - such a pity!).  Unfortunately, such picture will flicker
  21. too much, frying eyes in a matter of seconds.  Solution to this problem
  22. came from Alex Young (Moscow, FIDO 2:5020/26), who suggested to include
  23. a touch of each color to each frame, thus reducing overall flicker.
  24. After that there were a lot of technical work with switching frames in
  25. time and choosing the exact form of palette used on each of them, but
  26. the initial impact was here already...
  27.  
  28.    Now, then you are sufficiently bored with these details, let's start
  29. to work.  First, make sure to shut down each and every multitasker and
  30. task switcher you'd started.  Because of delicate timing required to run
  31. TrueView and non-standard ways of programming your hardware (i.e.,  VGA
  32. and timer chips) it implements, the most probable outcome of running it
  33. in multitasking environment will be the overwhelming need for Big Red
  34. Switch.  TrueView will try to detect Windows 3.0, DesqView and DosShell,
  35. so as to refuse to run from inside of them. Other multitaskers most
  36. probably will go unnoticed, so beware.
  37.  
  38.    Prior to viewing any nice pictures you prepared for occasion, you
  39. will have to tune TrueView for the display you are using.  You will have
  40. to adjust vertical frequency used and three color response curves - one
  41. for each of red, green and blue.  To do so, type:  'trueview -s' and
  42. press <enter>.  Selecting vertical frequency is simple:  pressing '+'
  43. and '-' keys, choose maximum frequency at which display is yet stable
  44. and grid at upper and lower part of grid on screen do not look odd.  You
  45. will be able to select any value from 65 (this should satisfy any VGA
  46. monitor) to 100 Hz (this will work on some of the MultiSyncs only).
  47. Note that the larger vertical frequency will mean less flicker later.
  48. Then satisfied, press <enter>.
  49.  
  50.    You will see twelve calibration bars for red color response curve.
  51. For each bar adjust intensity of strips in it by pressing Home (brighter
  52. by 3), PgUp (brighter by 1), End (dimmer by 3), PgDn (dimmer by 1).  For
  53. first bar (black one) select level which will become visible
  54. _at_the_next_ press of PgUp.  Do not permit the textures of bars to
  55. distract you - it is the intensity only that cares.  For myself, I
  56. prefer to screw my eyes while adjusting these bars.  Then all bars seem
  57. to be uniform to you, press <enter> and repeat process for green and
  58. blue colors.  You will see tree color response curves for your monitor.
  59. Just press <enter> to save configuration file.  By default, it will be
  60. names gamma.m64 and should be placed at the same directory as
  61. trueview.exe.
  62.  
  63.    I am sorry to make you to select 37 adjustable parameters before
  64. you'd seen anything really pretty, but it seems to be the absolute
  65. minimum necessary to make this technique work.  In my original version,
  66. there were 190 parameters, so you are in a privileged position.  The cause
  67. for such complexity is the complete neglect of color response curve by
  68. most manufacturers - they prefer not to adjust zero beam current, so as
  69. to save some money...on our's expense.  No one of monitors I'd ever seen
  70. was even near at NTSC's standard gamma of 2,2.  And gamma = 1,6 assumed
  71. by some Windows applications is no better.
  72.  
  73.    Well, now you are ready to view your favorite pictures in a new
  74. light.  All you have to do is to type:  'trueview my_best.pcx
  75. honey.tif'.  Both pictures will be displayed simultaneously.  You can
  76. choose active one pressing <Tab> and <Shift-Tab>, scroll active picture
  77. with cursor keys and display it full-screen with <Enter>.  Number of
  78. pictures you can view simultaneously is limited only by number of files
  79. program can open simultaneously.  On my system, I can view at least 15
  80. files simultaneously.  You have to supply extension with file name, but
  81. the extension is _not_ used to determine file type, so it needs not match
  82. file contents.
  83.  
  84.    Now, few words on the graphic file formats supported. Formats capable
  85. of supporting truecolor 24-bits images are marked by asterisk.
  86.  
  87.    BMP(*) files are supported according to full Windows 3.0 SDK
  88. specification. Possible variations include 1, 4, 8 and 24 bits per
  89. pixel. Run-length encoding mentioned (but not exactly clarified) in SDK
  90. reference is _not_ supported. So is the Presentation Manager variation
  91. of BMP, which has different file header format.
  92.  
  93.    PCX files understood by TrueView are restricted to single plane
  94. (1,2,4 or 8 bits per pixel) and single bit (up to 8 planes) images. For
  95. 256-color images, both PCXkit and ZSoft-style palettes are supported.
  96. PCXkit was reported to span compressed sequenced over row boundary
  97. sometimes, which contradicts to original PCX specification. Such images
  98. will not be accepted.
  99.  
  100.    GIF files support is limited to version 87A specification.  For
  101. multiimage file, only first picture will be displayed.  Both global and
  102. local color palette should work Ok (but I had no images with local
  103. palette to test it!).  Due to the complicated nature of GIF's
  104. compression, all GIF files are expanded to temporary storage then first
  105. opened.  If you have sufficient amount of XMS memory, expanded picture
  106. will be stored here.  If not, TrueView will attempt to create temporary
  107. file in directory pointed by TEMP environment variable or, if TEMP was
  108. not set, in current directory.
  109.  
  110.    Implementation of TIFF(*) reader is the weakest spot of TrueView.
  111. Still, the barbaric richness of this format will drive omnipotent God
  112. himself inarticulate, so I am not to be blamed here.  I had chosen
  113. (somewhat arbitrary) to support 4- and 8-bits-per-pixel paletted images
  114. and 24-bit single plane RGB images.  Only two compression modes are
  115. supported by TrueView - mode 1 (no compression) and mode 32773
  116. (PackBits).  My implementation of TIFF reader deviates from TIFF 5.0
  117. specification in one respect:  it assumes color response curve to be
  118. uniform if none was specified in input file, while standard forces the
  119. use of gamma = 2,2.  Still, from my little experience, assuming gamma to
  120. be 1 is much more likely to produce good-looking pictures.  And if
  121. application had not cared about it's picture appearance enough to
  122. include color response curve in it, why should I?  Both Intel and
  123. Motorola byte order should be supported, but I have no Mac-style TIFF
  124. images to verify it.
  125.  
  126.    Oh, and license stuff - I'd almost forgot it ;-) Permission is hereby
  127. granted to use this program freely to any person who is willing to do
  128. so, provided that it will not be modified in any way from it's original
  129. form and it will not be used in commercial purposes.  So, let's enjoy
  130. the life, guys - it is such a pleasure sometimes!
  131.  
  132. 05/20/92 Serge Pachkovsky,
  133. FIDO: 2:5000/19
  134. Internet: ps@comcen.nsk.su
  135.